/**
 * Created by udi on 2016/11/26.
 */
'use strict'

let mor = require("../libs/mongo/mongoHelper");
let querystring = require('querystring');

app.use(app.routes.post('/hi', async function () {
  this.body = "hello world!";
}));
app.use(app.routes.post('/test', async function () {
  let abc = this.abc.def;
  this.body = "hello world!";
}));

app.use(app.routes.get('/', async ctx=> {
  ctx.render("test/index");
}));

app.use(app.routes.get('/wuye', async ctx=> {
  ctx.render("test/index");
}));
